namespace Matrix.Configuration
{
    /// <summary>
    /// Matrix Configuration 模块领域错误代码
    /// </summary>
    public static class MatrixConfigurationDomainErrorCodes
    {
        /// <summary>
        /// 配置已存在
        /// </summary>
        public const string ConfigurationAlreadyExists = "Matrix.Configuration:ConfigurationAlreadyExists";

        /// <summary>
        /// 配置不存在
        /// </summary>
        public const string ConfigurationNotFound = "Matrix.Configuration:ConfigurationNotFound";

        /// <summary>
        /// 配置值无效
        /// </summary>
        public const string InvalidConfigurationValue = "Matrix.Configuration:InvalidConfigurationValue";

        /// <summary>
        /// 配置类型不匹配
        /// </summary>
        public const string ConfigurationTypeMismatch = "Matrix.Configuration:ConfigurationTypeMismatch";

        /// <summary>
        /// 命名空间无效
        /// </summary>
        public const string InvalidNamespace = "Matrix.Configuration:InvalidNamespace";

        /// <summary>
        /// 配置名称无效
        /// </summary>
        public const string InvalidConfigurationName = "Matrix.Configuration:InvalidConfigurationName";

        /// <summary>
        /// 配置长度超限
        /// </summary>
        public const string ConfigurationLengthExceeded = "Matrix.Configuration:ConfigurationLengthExceeded";

        /// <summary>
        /// 配置监听失败
        /// </summary>
        public const string ConfigurationWatchFailed = "Matrix.Configuration:ConfigurationWatchFailed";
    }
}